
@extends("parent")

@section("mainbody")
	<div class="container">
		<h1>添加页面</h1>
		<form action="/doAdd" method="post" class="col-sm-6">
			<!-- 为了防止跨站共计  预防csrf跨站攻击 -->
			{{csrf_field()}}
			<div class="form-group">
				<label>用户名</label>
				<input class="form-control" type="text" name="username"  />
			</div>
			<div  class="form-group">
				<label>年龄</label>
				<input type="text" class="form-control" name="age" />
			</div>
			<div  class="form-group">
				<label>性别</label>
				<div class="radio">
					<label>
						<input type="radio" name="sex" checked value="1" />男
					</label>
				</div>
				
				<div class="radio">
					<label>
						<input type="radio" name="sex" value="2"/>女
					</label>
				</div>
			</div>
			<div>
				<input class="btn btn-success" type="submit" value="提交">
			</div>
		</form>
	</div>
@endsection



